using System;
using NUnit.Framework;
using Radiation;

namespace Radiation.Test
{
    [TestFixture]
    public class TestStub
    {
        [Test]
        public void TestOut()
        {
            Assert.AreEqual(Radiation.Stub.Out(), "This is a stub program for NAnt/NUnit");
        }

        [Test]
        public void TestAdd()
        {
            Assert.AreEqual(Radiation.Stub.Add(5, 2), 7);
            Assert.AreEqual(Radiation.Stub.Add(-3, 5), 2);
            Assert.AreEqual(Radiation.Stub.Add(3), 3);
        }
    }
}